#pragma once
#include "stdafx.h"
#include "addinbaseoperator.h"

class CShowOrientedAxisOperator :
	public CAddInBaseOperator
{
public:
	CShowOrientedAxisOperator(HDiMineView* view,IDMAddIn *addin);
	~CShowOrientedAxisOperator(void);

	virtual int Init();
	virtual int OnLButtonDown(dmEventInfo &hevent);
	virtual void Resume(void *pUserData);

private:
	bool m_bProcessing;
	//dmDbLayer *m_pTempLayer;

	void ShowOrientedAxis();
	void DrawArrow(dmDPoint ptBase,dmDPoint ptNormal,const char *color);
};
